/**
 * Created by Administrator on 2025/5/7.
 * */
#ifndef MYDEVICEWRITER_ERA
#define MYDEVICEWRITER_ERA

#include "DeviceWriter.h"

extern "C" BaseObject *createMyDeviceWriter();
extern "C" void destroyMyDeviceWriter(BaseObject *p);

class MyDeviceWriter : public DeviceWriter{
public:

~MyDeviceWriter();

int64_t onWrite(char *buffer, int64_t len) override;
};

#endif //MYDEVICEWRITER_ERA
